// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_groups
// * CreateDate    : 2014-06-05 18:29:58
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:58
// * LastChanger   : 2014-06-05 18:29:58
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmGroupsTable : TableInfo
    {
		public const string C_TableName = "hm_groups";
		
		public const string C_groupid = "groupid";
		public const string C_groupname = "groupname";
		
		public HmGroupsTable()
        {
            _tableName = "hm_groups";
        }
		
		protected static HmGroupsTable _current;
        public static HmGroupsTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmGroupsTable();

            _current.Add(C_groupid, new ColumnInfo(C_groupid,"Groupid", true, typeof(long)));
            _current.Add(C_groupname, new ColumnInfo(C_groupname,"Groupname", false, typeof(string)));
			
		}
		
		public ColumnInfo groupid
        {
            get { return this[C_groupid]; }
        }
		
		public ColumnInfo groupname
        {
            get { return this[C_groupname]; }
        }
		
		
		
	}
}

